<?php

class User_Model_GroupsRights extends Pldkp_Db_Table_Abstract 
{
    protected $_name = 'groups_rights';
    
    protected $_referenceMap = array(
        'Group' => array( 
            'columns'       => array('group_id'),
            'refTableClass' => 'User_Model_Groups',
            'refColumns'    => array('id')
        ),
        'Right' => array( 
            'columns'       => array('right_id'),
            'refTableClass' => 'User_Model_Rights',
            'refColumns'    => array('id')
        )
    );
}